package org.cttic.visualization.visualization.common.module;

import javax.lang.model.element.VariableElement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author shkstart
 * @create 2020-05-14 15:14
 */
public class provinceData {
    public static Map<Integer,String> province =new HashMap<>();
    public static List<Integer> provinceList = new ArrayList<>();
    public static Map<Integer,String> provinceID =new HashMap<>();

    static {
        provinceList.add(11);
        provinceList.add(12);
        provinceList.add(13);
        provinceList.add(14);
        provinceList.add(15);

        provinceList.add(21);
        provinceList.add(22);
        provinceList.add(23);

        provinceList.add(31);
        provinceList.add(32);
        provinceList.add(33);
        provinceList.add(34);
        provinceList.add(35);
        provinceList.add(36);
        provinceList.add(37);

        provinceList.add(41);
        provinceList.add(42);
        provinceList.add(43);
        provinceList.add(44);
        provinceList.add(45);
        provinceList.add(46);

        provinceList.add(50);
        provinceList.add(51);
        provinceList.add(52);
        provinceList.add(53);
        provinceList.add(54);

        provinceList.add(61);
        provinceList.add(62);
        provinceList.add(63);
        provinceList.add(64);
        provinceList.add(65);
        provinceList.add(99);
    }

    static {
        province.put(11,"京");
        province.put(12,"津");
        province.put(13,"冀");
        province.put(14,"晋");
        province.put(15,"蒙");

        province.put(21,"辽");
        province.put(22,"吉");
        province.put(23,"黑");

        province.put(31,"沪");
        province.put(32,"苏");
        province.put(33,"浙");
        province.put(34,"皖");
        province.put(35,"闽");
        province.put(36,"赣");
        province.put(37,"鲁");

        province.put(41,"豫");
        province.put(42,"鄂");
        province.put(43,"湘");
        province.put(44,"粤");
        province.put(45,"桂");
        province.put(46,"琼");

        province.put(50,"渝");
        province.put(51,"川");
        province.put(52,"贵");
        province.put(53,"云");
        province.put(54,"藏");

        province.put(61,"陕");
        province.put(62,"甘");
        province.put(63,"青");
        province.put(64,"宁");
        province.put(65,"新");
        province.put(99,"其他");
    }
    static {
        provinceID.put(11,"北京");
        provinceID.put(12,"天津");
        provinceID.put(13,"河北");
        provinceID.put(14,"山西");
        provinceID.put(15,"内蒙古");

        provinceID.put(21,"辽宁");
        provinceID.put(22,"吉林");
        provinceID.put(23,"黑龙江");

        provinceID.put(31,"上海");
        provinceID.put(32,"江苏");
        provinceID.put(33,"浙江");
        provinceID.put(34,"安徽");
        provinceID.put(35,"福建");
        provinceID.put(36,"江西");
        provinceID.put(37,"山东");

        provinceID.put(41,"河南");
        provinceID.put(42,"湖北");
        provinceID.put(43,"湖南");
        provinceID.put(44,"广东");
        provinceID.put(45,"广西");
        provinceID.put(46,"海南");

        provinceID.put(50,"重庆");
        provinceID.put(51,"四川");
        provinceID.put(52,"贵州");
        provinceID.put(53,"云南");
        provinceID.put(54,"西藏");

        provinceID.put(61,"陕西");
        provinceID.put(62,"甘肃");
        provinceID.put(63,"青海");
        provinceID.put(64,"宁夏");
        provinceID.put(65,"新疆");
        provinceID.put(99,"其他");
    }

}
